﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace TireStore.Models
{
    public class ProductGroupInfo
    {
        public int Id { get; set; }
        [Required(ErrorMessage = "(*)")]
        public string Name { get; set; }

        public string Description { get; set; }

        //[Range(0, int.MaxValue, ErrorMessage = "m")]
        public Nullable<int> MIndex { get; set; }
        public bool Active { get; set; }
        public int ParentId { get; set; }
    
    }
}